package com.example.animation.animationdemo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

public class MainActivity extends AppCompatActivity {
    private ImageView ivButton;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ivButton = (ImageView) findViewById(R.id.iv_button);
        ivButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ivOnclick();
            }
        });
    }

    private void ivOnclick(){
        //传统动画
    }
}










